package house.repository;

import house.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderRepository extends JpaRepository<COrder, Integer> {

    List<COrder> findAllByTenantIdOrderByCreateDateDesc(Integer id);
}
